Skip to content

Conversation

@devdumpling
Copy link
Owner

  • Add function overloads to useQuery/useQueryOne for both direct queries and getter functions
  • Types now inferred automatically from Zero's Query<Schema, TTable, TReturn>
  • Remove explicit type arguments from all component useQuery calls
  • Update formatProperties to accept unknown (compatible with ReadonlyJSONValue)
  • Use minimal interface types in chart components for flexibility
  • Add @types/d3-scale and @types/d3-shape dependencies
  • Fix schema.ts: replace inferSelect with manual interfaces, use json() without type param
  • Fix queries.ts: use z.number().default() instead of z.number().optional()
  • Remove identifiedUsers query (Zero doesn't support null comparisons in .where())
  • Fix a11y warnings in FlagsList (aria-label, self-closing span)
  • Remove unused Tooltip components from charts (LayerChart pre-release typing issues)

…nference

- Add function overloads to useQuery/useQueryOne for both direct queries and getter functions
- Types now inferred automatically from Zero's Query<Schema, TTable, TReturn>
- Remove explicit type arguments from all component useQuery calls
- Update formatProperties to accept unknown (compatible with ReadonlyJSONValue)
- Use minimal interface types in chart components for flexibility
- Add @types/d3-scale and @types/d3-shape dependencies
- Fix schema.ts: replace inferSelect with manual interfaces, use json() without type param
- Fix queries.ts: use z.number().default() instead of z.number().optional()
- Remove identifiedUsers query (Zero doesn't support null comparisons in .where())
- Fix a11y warnings in FlagsList (aria-label, self-closing span)
- Remove unused Tooltip components from charts (LayerChart pre-release typing issues)
@devdumpling devdumpling merged commit 9f85727 into main Dec 2, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants